package com.pancm.datacollector.forwarder;

import java.util.Map;

/**
 * 转发器配置类
 */
public class ForwarderConfig {
    /**
     * 协议类型
     */
    private String protocol;
    
    /**
     * 目标服务器地址
     */
    private String serverHost;
    
    /**
     * 目标服务器端口
     */
    private int serverPort;
    
    /**
     * 其他配置参数
     */
    private Map<String, Object> parameters;

    // Getters and Setters
    public String getProtocol() {
        return protocol;
    }

    public void setProtocol(String protocol) {
        this.protocol = protocol;
    }

    public String getServerHost() {
        return serverHost;
    }

    public void setServerHost(String serverHost) {
        this.serverHost = serverHost;
    }

    public int getServerPort() {
        return serverPort;
    }

    public void setServerPort(int serverPort) {
        this.serverPort = serverPort;
    }

    public Map<String, Object> getParameters() {
        return parameters;
    }

    public void setParameters(Map<String, Object> parameters) {
        this.parameters = parameters;
    }
} 